package com.hui.entity.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 购物车表(StoreCart)表实体类
 *
 * @author hui
 * @since 2022-07-19 12:01:17
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("store_cart")
public class StoreCart extends BaseDomain {
    //购物车表ID
    private Long id;
    //用户ID
    private Long uid;
    //类型
    private String type;
    //商品ID
    private Long productId;
    //商品属性 商品规格的唯一识别码
    private String productAttrUnique;
    //商品数量
    private Integer cartNum;
    //0 = 未购买 1 = 已购买
    private Integer isPay;
    //是否删除
    private Integer isDel;
    //是否为立即购买
    private Integer isNew;
    //拼团id
    private Long combinationId;
    //秒杀产品ID
    private Long seckillId;
    //砍价id
    private Long bargainId;

}

